import React from 'react';
import {Layout} from 'antd';
import './index.less';
import {connect} from "dva";
import Curd from "components/Curd";
import createColumns from './columns';
import {searchColumns, detailSearchColumns} from './searchColumns'

const {Content, Footer, Header} = Layout;

@connect(({ecg}) => ({ecg: ecg}))
export default class extends Curd {

  getNamespace() {
    return 'ecg';
  }

  getTableColumns() {
    return createColumns(this);
  }

  getSearchColumns() {
    return searchColumns;
  }

}
